use std::collections::HashMap;

pub fn map_test(){
    let mut test_map = HashMap::new();
    test_map.insert(String::from("blue"), 123);
    test_map.entry(String::from("blue")).or_insert(30);
    test_map.entry(String::from("yellow")).or_insert(100);
    test_map.entry(String::from("red")).or_insert(10);
    println!("{:?}", test_map);
}